<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "
http://www.w3.org/TR/html4/strict.dtd">

<html>
    <head>
    <meta http-equiv="content-type" content="text/html;charset=utf-8"/>
        <title>login</title>
        <link  rel="Stylesheet"  type="text/css" href="css/login.css"/>

    </head>
    <body background="./images/body.gif">
        <form action="loginProcess.php" method="post">
            <table align="center" background="images/login.gif" class="table">
                   <tr>
                    <td class="auto-style3"></td><td class="auto-style4"></td>
                </tr>
                <tr>
                    <td class="auto-style10">users ID</td>
                    <td class="auto-style11"><input type="text" name="id" style="width: 235px" /></td>
                </tr>
                <tr>
                    <td class="auto-style10">password</td>
                    <td class="auto-style11"><input type="password" name="password" style="width: 235px" /></td>
                </tr>
                <tr>
                    <td class="auto-style10">Verification Code</td>
                    <td class="auto-style11"><input type="text"  name="checkcode" style="width: 235px" /></td>
                    <td class="auto-style7"><img alt="verification code" src="checkcode.php" onclick="this.src='checkcode.php?aa='+Math.random()"/></td>
                </tr>
                <tr>
                    <td class="auto-style1"></td>
                    <td class="auto-style2"><input type="submit" value="login" style="width: 119px" /></td>
                </tr>
                <tr>
                    <td colspan="3">&nbsp;
                    <?php 

if(!empty($_GET['errno'])){
$errno=$_GET["errno"];
if ($errno==1) {
	echo "<br/><font color='red' size='4'>Your ID or password is error!</font>";
	
}
elseif ($errno==2) {
	echo "<br/><font color='red' size='4'>Your verification code is error!</font>";
}
elseif ($errno==3){
    echo "<br/><font color='red' size='4'>Please enter the ID and password!</font>";
}
}
?>
                    </td>
                </tr>
            </table>
            
        </form>
    </body>
</html>